﻿using System;
using System.Collections.Generic;

namespace SocialFilter.model
{
	class Feed
	{
		private string feedId;
		private string feedName;
		private string url;
		private List<Account> accounts = new List<Account>();
		private List<FeedItem> feedItems = new List<FeedItem>();

		public string FeedId
		{
			get { return feedId; }
			set { feedId = value; }
		}

		public string FeedName
		{
			get { return feedName; }
			set { feedName = value; }
		}

		public string Url
		{
			get { return url; }
			set { url = value; }
		}
		
		public List<Account> Accounts
		{
			get { return accounts; }
		}
		
		public void AddAccount( Account _a )
		{
			accounts.Add(_a);
		}

		public List<FeedItem> Items
		{
			get { return feedItems; }
		}

		public void AddItems( List<FeedItem> _items )
		{
			feedItems.AddRange(_items);
		}
	}
}
